<!--
 * @Date: 2022-11-21 15:08:14
 * @Autor: lx
 * @LastEditors: lipengxi 2899952565@qq.com
 * @LastEditTime: 2022-11-30 17:20:03
 * @FilePath: /lg-study/Part3_Vue/vue2数据响应式/index.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>LxVue</title>
</head>

<body>
    <div id="app">
        <h1>差值表达式</h1>
        <h2>msg={{msg}}</h2>
        <h1>V-TEXT</h1>
        <h2 v-text="msg"></h2>
        <h1>v-model</h1>
        <input type="text" v-model="msg">
    </div>
</body>

<script src="./index.js"></script>
<script>
    let vm = new LxVue({
        el: "#app",
        data: {
            msg: "lx",
            person: {
                age: 18
            }
        }
    })
    console.log(vm)
</script>

</html>